package com.food.chronicles;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(
        exclude = {
                DataSourceAutoConfiguration.class,  // 禁用数据源自动配置
                HibernateJpaAutoConfiguration.class // 禁用JPA自动配置
        }
)
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true)
public class TaskPlatformApplication {

    public static void main(String[] args) {
        SpringApplication.run(TaskPlatformApplication.class, args);
    }
}